package com.lky.marshallmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lky.common.utils.PageUtils;
import com.lky.marshallmall.product.entity.CategoryEntity;
import com.lky.marshallmall.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author Marshall
 * @email 1347438049@qq.com
 * @date 2020-12-01 22:31:49
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removeMenuByIds(List<Long> asList);

    Long[] findCatelogPath(Long catelogId);

    void updateDetail(CategoryEntity category);

    List<CategoryEntity> getLevel1Categoies();

    Map<String, List<Catelog2Vo>> getCateLogJson();
}

